home *** CD-ROM | disk | FTP | other *** search
/ Nautilus 1993 August / Nautilus CD Magazine Volume 3-8 August 1993 Windows Edition.mdf / games / rse / nab21.exe / NABBIT.DOC < prev    next >
Text File  |  1993-03-29  |  23KB  |  488 lines

  1.     
  2.                  * * * * * * * * * * * * * * * *
  3.                  *                             *
  4.                  *  Nabbit (tm)   Version 2.1  *
  5.                  *  Copyright 1993 by RSE Inc  *
  6.                  *       March 29, 1993        *
  7.                  *                             *
  8.                  * * * * * * * * * * * * * * * *
  9.  
  10. ***  Welcome! ***
  11.  
  12. Nabbit lets you grab ASCII characters off your screen and save them into 
  13. a file, or send them to your printer to print envelopes, labels, or 
  14. partial screen dumps.  It also lets store the captured characters in a 
  15. buffer and insert them into another application at some later time.  In 
  16. this way you can easily exchange data between different programs.  Nabbit 
  17. is an extremely useful tool, one you will constantly find new uses for. 
  18.  
  19. Nabbit is copyrighted by RSE Inc.  It is user-supported shareware.  As 
  20. such, you are encouraged to freely distribute copies of the NAB??.EXE 
  21. file to whomever you please, as long as you don't charge anything for the 
  22. copies.  Please don't distribute the individual "extracted" files as it 
  23. defeats the virus check, and causes other complications.  Only distribute 
  24. NAB??.EXE. 
  25.  
  26. If after evaluating Nabbit you decide to continue using it, then you 
  27. need to become a register user sending $15 + $1 shipping to: 
  28.  
  29.  Nabbit              │  Visa or MC customers:       │  Modem-It! to:
  30.  1157 57th Drive SE  │  call or FAX (206) 939-4105  │  (206) 939-2312
  31.  Auburn, WA 98002    │  Compuserve: 72371,1557      │  Product ID: NB
  32.  
  33. Add $1 extra for 3.5 disk and $5 extra for overseas orders.
  34.  
  35. Our Instruction Manual containing printed documentation for all 12 of 
  36. our shareware products (including Nabbit) is available for an extra $5. 
  37.     
  38. (Modem-It! (tm) is a free program that lets you use your modem to easily 
  39. place orders 24 hours a day with any participating merchant.  Look for it 
  40. on any bulletin board.) 
  41.  
  42. Registered users receive the following benefits:
  43.  
  44.     1.  No more annoying "please register" messages.
  45.     2.  Our "Variety Pak" which contains the latest versions of our  
  46.         shareware products, including PC-Directory, Playback, PC-Images, 
  47.         PC-FileNotes, BriteLine, Conjecture, Remind Me! and Trash-It. 
  48.     3.  Technical support, the latest version of Nabbit, and a "decoder" 
  49.         which converts all future versions to registered versions. 
  50.     4.  Our sincere thanks for supporting our efforts.
  51.     
  52. Those using Nabbit in a commercial environment must register within 30 
  53. days.  Site licenses are available. Please write for details. 
  54.  
  55. ***  Nabbit Instructions  ***
  56.  
  57. Nabbit is a small TSR (Terminate and Stay Resident) program.  You load it 
  58. once at the beginning of a session and it stays hidden until you press 
  59. its "hot key".  Then it goes to work.  When you're done with it, your 
  60. original program continues as tho nothing had happened. 
  61.  
  62. When I said it was a small program, I meant small.  It only takes up 
  63. about 2.6K of memory, plus whatever you allocate for the insert buffer 
  64. (more on that later).  
  65.  
  66. ** To load Nabbit into memory **
  67.  
  68. -- Go to the disk or subdirectory where NAB.COM is and enter NAB at the 
  69. DOS prompt. 
  70.  
  71. You'll notice the information displayed when Nabbit is loaded contains a 
  72. menu of the keys you'll use to operate it.  If you're familiar with 
  73. TSR's you could probably just use this information to figure out how 
  74. things work.  However, there are a number of things you will miss if you 
  75. don't read these instructions, so please continue on. 
  76.  
  77. ** Changing the printer number **
  78.  
  79. By default, Nabbit sends all its printer output to LPT1.  If you'd like 
  80. to use another printer the use the "/#" command line switch.  For 
  81. example, if you want Nabbit to send its printer output to LPT2 then you'd 
  82. activate Nabbit like this: "nab/2".
  83.  
  84. ** Specifying the file to save the captured screen data **
  85.  
  86. If you elect to use Nabbit to save screen data to a disk file then by 
  87. default the data is appended to a file called "SCREEN.DAT" in the 
  88. directory you are in at the time you pop-up Nabbit.  If you want to 
  89. change this file then you can do so like this:
  90.  
  91. nab *c:\test\savescr.dat*
  92.  
  93. Just enclose the pathname of the desired file with "*".
  94.  
  95. ** To remove Nabbit from memory **
  96.  
  97. If you need to remove Nabbit from memory enter "nab/u" at the DOS prompt.  
  98. Remember, you must remove TSR's in the reverse order in which they were 
  99. loaded.  If you don't, Nabbit may not be able to remove itself or your 
  100. computer may lock up requiring a re-boot. 
  101.  
  102. ** Activating Nabbit **
  103.  
  104. You activate Nabbit by pressing its "hot key".  The default is Ctrl-G 
  105. (press the Ctrl and the G key at the same time), but you can change the 
  106. "hot key" by using the Configuration program.  We'll discuss the 
  107. Configuration program later. 
  108.  
  109. -- Activate Nabbit by pressing Ctrl-G
  110.  
  111. Hear those two low beeps.  They're letting you know Nabbit's ready.  
  112. Nabbit also makes the cursor bigger when it's activated.  The cursor may 
  113. or may not be located at the same place as the cursor being used in your 
  114. application.  If you can't find Nabbit's cursor, check the upper left 
  115. corner of the screen. 
  116.  
  117. ** Escaping **
  118.  
  119. If you need to exit Nabbit, just press the Escape key.  You'll hear one 
  120. low beep indicating Nabbit has finished.  Your cursor will be restored to 
  121. its original size and location. 
  122.  
  123. ** Marking your text **
  124.  
  125. Once you've activated Nabbit you need to tell it what part of the screen 
  126. you want to capture.  First, you mark the upper left corner of the area 
  127. you want captured.  Use the cursor keys (up, down, left, and right arrow 
  128. keys), Tab, Home (move to start of line) or End (move to last column in 
  129. line) to move the cursor to the upper left corner of the characters you 
  130. want to get.  Press S (for Start).  You'll hear an ascending series of 
  131. beeps letting you know that this is the starting place.  
  132.  
  133. --  Mark the upper left corner of the area you want to capture by moving 
  134. the cursor to that point and pressing S for Start. 
  135.  
  136. Now that you've marked the start, it only makes sense to mark the end.  
  137. This time move the cursor to the end (the lower right corner) of the area 
  138. you want to capture.  Then press E (for End).  A menu will appear that 
  139. gives you the following options:
  140.     
  141.  
  142. Press: L  if you want to print a label, or just send the text to the 
  143.           printer unformatted.
  144.  
  145.        E  to print a regular size envelope
  146.  
  147.        B  to print on a big envelope
  148.  
  149.        F  to append the data to the SCREEN.DAT file
  150.  
  151.        I  to store the data in the Insert buffer
  152.  
  153.  
  154. ** A Sample **
  155.  
  156. Load Nabbit into memory (if you haven't already) by entering "nab" at the 
  157. DOS prompt.  Let's say you want to register Nabbit so you need to print 
  158. an envelope to put the $16 in.  Activate Nabbit by pressing Ctrl-G.  Move 
  159. the cursor to the upper left corner of the address (the N in Nabbit) and 
  160. press S to signal that this is the start of the block.  Move the cursor 
  161. to the lower right corner of the address (on the zip code line, directly 
  162. below the E in SE) and press E to signify the end of the block.  Turn on 
  163. your printer, insert an envelope, and press E (for Envelope).  That's it.  
  164. Tough huh?   (We'll talk about adjusting the printer output later)
  165.  
  166.  
  167. ** What Nabbit Nabs **
  168.  
  169. IMPORTANT!
  170.  
  171. Envelopes and labels grab like this:
  172.  
  173.  
  174.              S............
  175.              .............
  176.              ............E
  177.  
  178.  
  179. However, if you select "File" or "Insert buffer" you will be presented 
  180. with the following menu that lets you grab the data in a variety of ways:
  181.  
  182. Box                     Grab the area as described above (a box with 
  183.                         where you pressed S and E defining the corners)
  184.                         leaving the format as it appears on screen.
  185.                  
  186. Unformatted box         Grab the "box" area as described above but strip 
  187.                         out tabs, multiple spaces, and carraige returns.
  188.  
  189. Grab all                Grab as illustrated below, leaving the format 
  190.                         as it appears on screen:         
  191.  
  192.                    S...........................................................
  193. ...............................................................................
  194. ..................................E
  195.  
  196. Grab all - unformated   Grab as illustrated above, however, strip out 
  197.                         tabs, multiple spaces, and carraige returns.
  198.  
  199.  
  200. Nabbit uses a BIOS call (a built-in function of your computer) to grab 
  201. the characters off the screen.  In text mode it recovers everything 
  202. (although Nabbit doesn't capture the color of the characters).  In 
  203. graphics modes it really depends on what your application is doing.  
  204. Programs like desktop publishers which use a WYSIWYG display aren't going 
  205. to capture anything.  On the other hand, there are many other 
  206. applications that do fine.  As a general rule, if your screen is showing 
  207. more than one typestyle, or more than one size of type, then you're 
  208. probably not going to be able to grab anything.  The only way to know is 
  209. to try.  Nabbit is one of those programs wher if it works, it works.  (I 
  210. went to college so I could write like this....)
  211.  
  212. In addition, in graphics mode Nabbit's cursor is a thin line and the 
  213. menus will not display correctly, therefore you'll have to memorize what 
  214. to do.  But because most of the menu options make sense you shouldn't 
  215. have any problems remembering them.
  216.  
  217. ** Printing **
  218.  
  219. The only difference between pressing E, B, or L is how many spaces the 
  220. printer moves over before it starts printing and how many lines it 
  221. scrolls after it's done.  The table below shows the default values.  You 
  222. can change these using the infamous configuration program we'll discuss 
  223. later. 
  224.  
  225.                06        # of lines for label
  226.                FormFeed                 envelope
  227.                FormFeed                 big envelope
  228.  
  229.                0         Tab spaces for label 
  230.                40                       envelope
  231.                50                       big envelope
  232.  
  233. "# of lines" needs some explaining.  When Nabbit finishes printing what 
  234. you captured, it continues scrolling until it reaches a multiple of the 
  235. "# of lines" value.  For example, if the # of lines for labels is 6, and 
  236. you print a label and the area you capture is 4 lines long, then Nabbit 
  237. would scoll another two lines after it was done printing, for a total of 
  238. 6 lines.  If the captured area had been 8 lines long, then it would've 
  239. scrolled 4 lines upon completion, for a total of 12 lines, an even 
  240. multiple of 6.  If you set the "# of lines" to "FormFeed" then Nabbit 
  241. sends a form feed to the printer when it's done.  This normally causes 
  242. the printer to scroll to the end of a normal 11 inch long page. 
  243.  
  244. ** Controlling Print Style **
  245.  
  246. When you print Envelopes or Big Envelopes you can have Nabbit send an 18 
  247. code Initialization string to the printer before printing, and a 12 
  248. character Reset code when printing is done.  This lets you tell your 
  249. printer, via printer codes, how you want to print.  For example, you may 
  250. want it to print in bold, or italics, or both.  You define these strings 
  251. using the Configuration program, which we'll discuss later. 
  252.  
  253. ** Linefeeds before printing **
  254.  
  255. You can put linefeeds (Character 10) in the Initialization string thereby 
  256. causing the printer to jump down so many lines before printing starts.  
  257. This is useful for laser printers or any other printer where you can't 
  258. align the print head before printing. 
  259.  
  260. ** What's that obnoxious noise? **
  261.  
  262. If you try to print something and you hear a continuing series of low 
  263. notes that sound like they're pronouncing impending doom, Nabbit's 
  264. telling you it can't send the material to the printer.  It continues 
  265. making this noise until the problem is fixed or you press a key.  Check 
  266. to make sure the power is on and the printer has paper.
  267.  
  268. NOTE: If your printer is on, has paper, and you've selected the correct 
  269. printer port in NAB_CFG and Nabbit still beeps at you then you can tell 
  270. it to ignore the printer "error" by pressing F1 while it is beeping. 
  271.  
  272. ** Partial Screen Prints **
  273.  
  274. The normal DOS print screen function works fine if you want to print the 
  275. entire screen.  But what if you only want to print out part of the 
  276. screen?  No sweat.  Just use Nabbit, and print a Label.  
  277.  
  278. If you find yourself doing partial screen prints a lot (it's addicting) 
  279. and you hardly ever use Nabbit to print real labels then you might want 
  280. to use the Configuration program to change the "# of lines for labels" to 
  281. "FormFeed".  That way when you do a partial screen print using Nabbit, 
  282. the printer will scroll to the end of the page after it's done. 
  283.  
  284. ** Inserting text **
  285.  
  286. When you press I at the option menu, Nabbit puts what it grabs into the 
  287. Insert buffer.  You can adjust the size of the buffer from 256 bytes to 
  288. 3072 bytes by using the configuration program.  The default value is 256 
  289. bytes.  Nabbit only grabs as much as the buffer holds, even if you try to 
  290. grab more.  Therefore, if Nabbit inserts less than you grabbed, then you 
  291. grabbed more than the buffer can hold.  Use the configuration program to 
  292. increase the size of the buffer. 
  293.  
  294. Once you've grabbed something and put it into the Insert buffer, it stays 
  295. there waiting for you to press the Insert "hot key" (Ctrl-I by default).  
  296. When you press the Insert "hot key" Nabbit waits until the program you're 
  297. using goes looking for an input from the keyboard.  Nabbit then jumps in 
  298. and gives your program what's in the Insert buffer instead.  The effect 
  299. is the same as if you were typing the "grabbed" stuff in yourself. 
  300.  
  301. This can be really handy.  The most obvious use is to copy data from one 
  302. application to another.  For example, the letter you wrote Bob last week 
  303. has a paragraph in it you want to put in Freds letter.  You bring up 
  304. Bob's letter, capture the paragraph using Nabbit, and then edit Fred's 
  305. letter.  Move to where you want to place the paragraph and press the 
  306. Insert "hot key".  The paragraph will be inserted as though you were 
  307. typing it in anew. 
  308.  
  309. You could have just as easily entered the paragraph into your spreadsheet 
  310. program, data base, or desktop publisher.  
  311.  
  312. Let's say you want to write an instruction manual and you want to insert 
  313. part of directory listing.  Since format is important here, you'd grab 
  314. the directory listing using the "Box" grab option.  Remember, 
  315. "Box" grabs the area within the box and leaves all multiple spaces and 
  316. carriage returns intact while "Unformatted box" strips them out.
  317.  
  318. You can also use this feature as a keystroke expander.  For example, 
  319. you're writing a letter and there's a particular word or phrase that 
  320. occurs over and over again.  Use Nabbit to capture it and then use the 
  321. Insert "hot key" to type it in whenever you need it. 
  322.  
  323. How fast the stuff gets inserted depends on how fast the original 
  324. application goes looking for keystrokes, and how high you adjust the 
  325. "Rate" value in the configuration program.  Setting the Rate value to one 
  326. sends about 18 characters a second.  This may sound fast, it's really 
  327. not.  Setting the value to 15 (the highest value, and also the default 
  328. value) attempts to insert 273 characters a second.  Remember though, most 
  329. of the time the limiting factor is how fast the original application goes 
  330. looking for keyboard input.  Nabbit won't insert characters any faster 
  331. than they are requested.  However, some programs continue looking for 
  332. characters even when they can't accept them anymore (go figure).  In 
  333. these cases you may want to reduce the Rate value so the program has time 
  334. to catch up with itself between each character. 
  335.  
  336. ** Repeat operations **
  337.  
  338. In some applications it may be handy to grab information from the same 
  339. spot on the screen over and over.  It sure would be nice if you didn't 
  340. have to define the same capture area each time.  Well there's an easier 
  341. way.  
  342.  
  343. If you activate Nabbit and press R then Nabbit will grab from the same 
  344. area and do the same operation as the last Nabbit operation.
  345.  
  346. As an example let's say that instead of just printing one envelope you 
  347. want to print two.  You'd activate Nabbit and print an envelope just as 
  348. we discussed earlier.  However, for the second envelope you'd just 
  349. activate Nabbit and press R for Repeat.  Since you didn't move the cursor 
  350. the second time Nabbit grabs stuff from the same area as it did the 
  351. first time.  
  352.  
  353. Another example:  You're working with a data base program where the name 
  354. and address of the person always appears in the same place on the screen.  
  355. You want to print envelopes for each.  You'd only have to define the 
  356. capture area the first time.  From then on you would just activate Nabbit 
  357. and press R (for Repeat). 
  358.  
  359. ** The Configuration program **
  360.  
  361. We've mentioned several items that you can change using the configuration 
  362. program.  Here's how: 
  363.  
  364. -- Go to the subdirectory where all the Nabbit files reside
  365.  
  366. -- Enter "NAB_CFG" at the DOS prompt
  367.  
  368. -- A list will appear of the items you can change, and their current 
  369.    values. 
  370.  
  371. -- Press the up and down arrow keys to select the item you want to 
  372.    change.
  373.  
  374. -- Press the left and right arrow keys to change the value of the 
  375.    selected item.
  376.  
  377. To change a "hot key" you first select the shift state of that hot key 
  378. and select either Ctrl, Alt, or Ctrl-Alt.  Then select the item below it, 
  379. press the right arrow key, and then press the key that goes with the 
  380. shift state.  For example to change the Insert "hot key" to "Alt-F10" 
  381. you'd first select the Insert Shift State, press the right arrow key 
  382. until "Alt" appears, move down one line, press the right arrow key once, 
  383. and then press the F10 key. 
  384.  
  385. ** Printer Codes **
  386.  
  387. The last two items (Init and Reset) are ways you can control your printer 
  388. output during the printing of envelopes.  The Init string will be sent to 
  389. your printer before the envelope is printed, the Reset string afterward.  
  390. Each string consists of decimal ASCII characters separated by commas.  
  391. The Init string can be 18 control codes long, the Reset 12.  If you enter 
  392. more than these amounts the string will be truncated.  These numbers 
  393. refer to the number of codes entered, not the number of characters.  For 
  394. example, "27,69,27,46" is 4 codes long, not 11. 
  395.  
  396. You can find what control codes your printer uses by checking your 
  397. printer manual.  Make sure you use decimal ASCII codes, not hex ASCII.  
  398. As an example, on my printer, the code to set boldface is 27,69.  It is 
  399. also referenced as <ESC> "E" and 1B,45 (hex).  Once again, make sure you 
  400. use the decimal ASCII values and seperate each code by a comma.  You can 
  401. put linefeeds (ASCII code 10) in your Initialization string if you 
  402. desire. 
  403.  
  404. Your Reset string should reset your printer to the way it was before you 
  405. sent the Init string.  Often a printer will have a reset code, like 
  406. "27,64" or similar. If you don't want to use these strings just leave 
  407. them blank. 
  408.  
  409. To change or enter the Init or Reset string, use the up/down cursor keys 
  410. to select the desired string, press the left/right cursor key to indicate 
  411. that you want to change it, and then input the new string as instructed.  
  412. Remember, its a comma delimited decimal ASCII string. 
  413.  
  414. Example:  This sets up envelope printing on HP-IIp LaserJet:
  415.  
  416. Init:   27,38,108,49,111,56,49,65,27,38,97,56,82
  417. Reset:  27,69 
  418.  
  419. (Because the Reset string ends a formfeed, you'll want to change the "# 
  420. of lines" for the envelope to something besides formfeed, like 6.) 
  421.  
  422. (If you want to use the above codes why not nab them and insert them into 
  423. the conifiguration program?)
  424.  
  425. ** Saving the changes **
  426.  
  427. When you're done press the Escape key and the new values will be inserted 
  428. into Nabbit.  If Nabbit is currently in memory then you'll have to re-
  429. boot and reload it to notice the changes. 
  430.  
  431. ** Problems, etc. **
  432.  
  433. If your printer is on, has paper, and you've selected the correct printer 
  434. port in NAB_CFG and Nabbit still beeps at you when you attempt printing, 
  435. then you can tell it to ignore the printer "error" by pressing F1 while 
  436. it is beeping. 
  437.  
  438. If you try to print an envelope and the printer doesn't print anything 
  439. and yet Nabbit acts as tho it did (doesn't beep at you) then grab your 
  440. printer manual, find out what character sequence is used to reset the 
  441. computer, and use the configuration program to set your Initialization 
  442. string to the reset character sequence.  On my computer the sequence is 
  443. "27,64".  Yours may be different.  This should clear up the problem. 
  444.  
  445. If what Nabbit inserts is less than what you grabbed, then you grabbed 
  446. more than the buffer can hold.  Reduce the size of what you grab or use 
  447. the configuration program to increase the size of the insert buffer. 
  448.  
  449. Nabbit doesn't work with some programs, particularly those that interface 
  450. directly with the keyboard hardware without using DOS or BIOS function 
  451. calls.  Likewise, Nabbit won't insert data into certain applications.  
  452. These applications vary, but often they are telecommunications software 
  453. or games.  If you can't activate Nabbit or you can't insert using Nabbit, 
  454. then the program you're trying to activate it from is either misbehaved 
  455. or has good reasons for not letting you interrupt.  Either way you're 
  456. stuck. 
  457.  
  458. In 256 color VGA graphic modes, the cursor doesn't erase itself, but 
  459. instead leaves a trail of cursors behind it.  Because I can't imagine too 
  460. many programs that deal with text using the 256 color graphics modes I've 
  461. decided not to burden Nabbit with the extra code needed to correct this 
  462. annoyance.  If I'm wrong, please let me know.
  463.  
  464. Sometimes Nabbit may be able to grab a character off the screen but your 
  465. printer won't be able to print it.  Worse yet, the character might be a 
  466. printer code that sends your printer off doing things you hadn't 
  467. intended.  If you're grabbing strange characters and your printer is 
  468. acting up, this is probably the reason why. 
  469.  
  470. If you run into any problems and you can't find an answer in these 
  471. instructions then give us a call at (206) 939-4105.  Technical support is 
  472. for registered users, so have your registration number handy.  That's 
  473. about it.  I hope you find Nabbit useful and worthy of your support.  
  474. Take care. 
  475.  
  476.                        *** Disclaimer ***
  477.  
  478. RSE Incorporated specifically disclaims all warranties expressed or 
  479. implied, including, without limitation, any implied warranties of 
  480. merchantability or fitness for a particular purpose.  The software itself 
  481. is licensed "As Is", without any express or implied warranties 
  482. whatsoever.  In no event shall RSE Incorporated, its distributors or 
  483. dealers, be liable for any loss of profit or any other commercial damage, 
  484. including, without limitation, special, incidental, consequential or 
  485. other damages.  In no case shall any liability exceed the price paid for 
  486. the software. 
  487.  
  488.